package com.test.common.entity.perf.inner;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 进程资源信息
 */
@Data
public class ProcessMessageEntity {

	// php可能有很多的pid
	private List<Integer> pid = new ArrayList<Integer>();
	// 进程描述，直接使用processMessageMap的key
	private String processDesc;

	private List<Double> cpuUsedList = new ArrayList<Double>();
	private List<Double> memUsedList = new ArrayList<Double>();

	// Java进程可以查询线程数
	private List<Integer> threadsList = new ArrayList<Integer>();

	// 这个根据各个业务的端口来查
	private List<Integer> tcpTIME_WAITList = new ArrayList<Integer>();
	private List<Integer> tcpESTABLISHEDList = new ArrayList<Integer>();
}